import {
	createApp
} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import mitt from 'mitt';
import ElementPlus from 'element-plus';
import md5 from 'js-md5';
import i18n from './i18n/index';
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

let app = createApp(App);
app.config.globalProperties.$mitt = new mitt()
app.config.globalProperties.$md5 = md5
app.config.globalProperties.$t = i18n.global
app.config.silent = true



createApp(App)
	.use(store)
	.use(i18n)
	.use(router)
	.use(ElementPlus, {
		size: 'mini',
		zIndex: 3000,
		locale: zhCn,
	}).mount('#app')

